package com.itheima.service.impl;

import com.itheima.exception.SystemException;

import java.sql.SQLException;

public class UserServlceImpl {
    public void save(){
        try {
            throw new SQLException();
        } catch (SQLException e) {
            throw new SystemException("数据库连接超时！",e);
        }
    }
}
